package com.mathset.common;

import org.apache.commons.logging.Log;
import org.springframework.aop.interceptor.CustomizableTraceInterceptor;

public class MathSetTraceInterceptor extends CustomizableTraceInterceptor {

	/**
	 * 
	 */
	private static final long serialVersionUID = 648689075871024347L;

	@Override
	protected void writeToLog(Log logger, String message) {
		logger.info(message);
	}

	@Override
	protected boolean isLogEnabled(Log logger) {
		return logger.isInfoEnabled();
	}

}
